<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>订单管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/ems/emsOrder/">收款人总表</a></li>
	</ul>
	<%-- <form:form id="searchForm" modelAttribute="emsOrder" action="${ctx}/ems/emsOrder/cashierDayMoney" method="post" class="breadcrumb form-search">
		<ul class="ul-form">
			<li><label>查询日期：</label>
				<input name="dateStr" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate "
					value="<fmt:formatDate value="${dateStr}" pattern="yyyy-MM-dd"/>"
					onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/> --%>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>收费员</th>
				<th>支付方式</th>
				<th>应付金额</th>
				<th>实付金额</th>
				<shiro:hasPermission name="ems:emsOrder:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${totalMoneyList}" var="moneyMap">
			<tr>
				<td>
					${moneyMap.NAME}
				</td>
				<td>
					${'wechatpay' eq moneyMap.PAYTYPE ? '微信支付':'alipay' eq moneyMap.PAYTYPE ? '支付宝':'pos支付'}
				</td>
				<td>
					${moneyMap.SUMMONEY}
				</td>
				<td>
					${moneyMap.PAYMONEY}
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</body>
</html>